package com.example.hospital.service;

import com.example.hospital.pojo.Department;

import java.util.List;

public interface DepartmentService {



    // 添加科室
    public void addDepartment(Department department);

    // 获取所有科室
    public List<Department> getAllDepartments();

    // 根据ID获取科室
    public Department getDepartmentById(Integer id);

    // 更新科室
    public void updateDepartment(Department department);

    // 删除科室
    public void deleteDepartment(Integer id);
}
